package com.zhx.sweet.encrypt;

import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * describe:
 *
 * @author zhanghaixuan
 * @date 2018/06/30
 **/
public interface EncryptUserDetailService {
    UserDetails loadUserByEncrypt(String encrypt) throws UsernameNotFoundException,BadCredentialsException;
}
